package com.jiyun.model.day14;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author mtt
 * @Date 2023/8/11 10：44
 **/
@Data
@ToString
public class Member {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String img;
    private String name;
    @TableField(value = "job_num")
    private String jobNum;
    private String sex;
    private String remark;
    @TableField(value = "create_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createTime;
    private Integer status;
    private Integer stats;
    private Integer rid;
    private String username;
    private String password;

}
